import httpInstance from "@/utils/http";

//banner
export function getBannerAPI(params = { distributionSite: "1" }) {
	return httpInstance({
		url: "/home/banner",
		params: {
			distributionSite: params.distributionSite,
		}
	});
}

export function getNewAPI() {
	return httpInstance({
		url: "/home/new"
	});
}

export function getHotAPI() {
	return httpInstance({
		url: "/home/hot"
	});
}

export function getGoodsAPI() {
	return httpInstance({
		url: "/home/goods"
	});
}